package tcc.wa.model;

/**
 * Represents an Alert.
 */
public class Alert {
	
	private long id;
	
	private AlertType type;
	
	private double value;
	
	private int hoursInAdvance;
	
	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	
	/**
	 * Sets the id.
	 *
	 * @param id the new id
	 */
	public void setId(long id) {
		this.id = id;
	}
	
	/**
	 * Gets the type.
	 *
	 * @return the type
	 */
	public AlertType getType() {
		return type;
	}
	
	/**
	 * Gets the value.
	 *
	 * @return the value
	 */
	public double getValue() {
		return value;
	}

	/**
	 * Sets the value.
	 *
	 * @param value the new value
	 */
	public void setValue(double value) {
		this.value = value;
	}

	/**
	 * Sets the type.
	 *
	 * @param type the new type
	 */
	public void setType(AlertType type) {
		this.type = type;
	}
	
	/**
	 * Gets the hours in advance.
	 *
	 * @return the hours in advance
	 */
	public int getHoursInAdvance() {
		return hoursInAdvance;
	}
	
	/**
	 * Sets the hours in advance.
	 *
	 * @param hoursInAdvance the new hours in advance
	 */
	public void setHoursInAdvance(int hoursInAdvance) {
		this.hoursInAdvance = hoursInAdvance;
	}
}
